package com.survey.service;

import com.survey.pojo.data.AdminDO;
import com.survey.utils.PageBean;
import com.survey.utils.Result;
import com.survey.pojo.vo.AdminVO;

import java.util.List;

/** 
 * <br/>
 * Created by survey on 2018/08/03
 */
public interface AdminService {

	Result addAdmin(AdminVO adminVO) throws Exception;

	Result updateAdmin(AdminVO adminVO) throws Exception;

	AdminDO findDetailAdmin(AdminVO adminVO) throws Exception;

	List<AdminDO> listAdmin(AdminVO adminVO) throws Exception;

    Result listAdminPage(AdminVO adminVO) throws Exception;
	
	Result countAdmin(AdminVO adminVO) throws Exception;
	
	Result deleteAdmin(AdminVO adminVO) throws Exception;

    PageBean<AdminDO> adminListManager(AdminVO adminVO);
}